<?php

	/*
	* 根据模型数组把键值转换为mid
	* cache 数组
	*/
	function model_k2id($cache){
		$_model = array();
		foreach ($cache as $k=>$v) {
			$_model[$v[modelid]] = $v;
		}
		return $_model;
	}
	
?>